import styled from "styled-components";
import {Button} from "antd";
import {Link} from "react-router-dom";

function Index() {
    document.title = '404'
    return (
        <IndexDiv>
            <div className="text-[32px] font-bold text-center pt-[20px]">404网页未找到</div>
            <div className="flex justify-center">
                <Link to='/'>
                    <Button>回到首页</Button>
                </Link>
            </div>
        </IndexDiv>
    )
}

Index.propTypes = {};

const IndexDiv = styled.div`

`

export default Index;